<div class="chit-chat-layer1">
    <div class="col-md-12 chit-chat-layer1-left">
        <div class="mail-toolbar clearfix">
            <div class="btn-group m-r-sm mail-hidden-options" style="display: inline-block;">
                <div class="btn-group">
                    <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">部门 <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu dropdown-menu-right" role="menu">
                        <li><a href="#">策划部门</a></li>
                        <li><a href="#">人事部门</a></li>
                        <li><a href="#">技术部门</a></li>
                    </ul>
                </div>
                <div class="btn-group">
                    <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">职位 <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu dropdown-menu-right" role="menu">
                        <li><a href="#">经理</a></li>
                        <li><a href="#">副经理</a></li>
                        <li><a href="#">技术人员</a></li>
                    </ul>
                </div>
                <span class="text-muted m-r-sm" style="margin-left: 5px">
                    <button type="submit" class="btn btn-primary">查询</button>
                </span>
            </div>
        </div>
        <div class="work-progres" style="margin-top:40px;width: 1130px">
            <div class="chit-chat-heading">
                薪酬明细
            </div>
            <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                <tr>
                    <th><input type="checkbox">全选</th>
                    <th>发放序号</th>
                    <th>员工编号</th>
                    <th>姓名</th>
                    <th>部门</th>
                    <th>职位</th>
                    <th>发放时间</th>
                <#--根据工资等级id 提取基础工资-->
                    <th>基础工资</th>
                    <th>奖金</th>
                <#--根据工资等级id 提取补贴-->
                    <th>补贴</th>
                    <th>加班费</th>
                    <th>应发工资</th>
                    <th>发放状态</th>
                    <th>操作</th>
                </tr>
                </thead>
            <tbody>
            <#if pageView?exists && pageView.records?size gt 0>
                <#list pageView.records as hrmPayment>
                <tr>
                    <td class="hidden">${hrmPayment.id?default("")}</td>
                    <td><input type="checkbox"></td>
                    <td><span>${(pageView.pageNow - 1)*(pageView.pageSize)?default(20) + hrmPayment_index + 1}</span>
                    </td>
                    <td>${hrmPayment.hrmStaff.id?default("")}</td>
                    <td>${hrmPayment.hrmStaff.name?default("")}</td>
                    <td>${hrmPayment.hrmApartment.name?default("")}</td>
                    <td>${hrmPayment.hrmPost.name?default("")}</td>
                    <td>${hrmPayment.payTime?date?default("")}</td>
                    <td>1500</td>
                    <td>${hrmPayment.extraMoney?default("")}</td>
                    <td>500</td>
                    <td>${hrmPayment.grossPay?default("")}</td>
                    <td>3200</td>
                    <td>未发放</td>
                    <td>
                        <button type="button" class="btn btn-sm btn-primary" name="update-btn">发放</button>
                    </td>
                </tr>
                </tbody>
                </#list>
            </table>
            <#else>
                <div style="text-align: center;padding-top: 10px">暂无相应数据</div>
            </#if>
            </div>
            <#include "page/paging.ftl" />
            <div>
                <button class="btn btn-primary">全部发放</button>
            </div>
        </div>
    </div>
</div>
<input type="hidden" value="/Pay/hrmPaymentManage.html" id="pageUrl">